package service;

import dao.PublisherDao;
import dao.PublisherDaoImpl;
import pojo.Publisher;

import java.util.List;

/**
 * Created by Tiler on 2020/11/4
 */
public class PublisherServiceImpl implements PublisherService {
    private PublisherDao publisherDao = new PublisherDaoImpl();

    @Override
    public List<Publisher> getAllPublishers() {
        return publisherDao.selectAllPublishers();
    }
}
